package com.atguigu.gulimall.search.service;

import com.atguigu.common.to.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * @Description:
 * @Author 胡菜鸡
 * @Create 2021-12-31-15:01
 */
public interface ProductSaveService {

    /**
     * 将商品数据保存到 ElasticSearch
     *
     * @author 胡菜鸡
     * @date 2021/12/31 15:02
     */
    boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;
}
